package com.tang.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 用户表(User)实体类
 *
 * @author tangshencai
 * @since 2024-05-20 08:39:38
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "User", description = "用户表")
public class UserEntity implements Serializable {
    private static final long serialVersionUID = 695944514163685946L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 用户名称
     */
    @ApiModelProperty(value = "用户名称")
    private String userName;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码")
    private String password;

    /**
     * 加密因子
     */
    @ApiModelProperty(value = "加密因子")
    private String salt;

    @ApiModelProperty(value = "头像")
    private String picture;

    /**
     * 删除标识
     */
    @ApiModelProperty(value = "删除标识")
    private Integer delFlag;

}
